package org.aplikator.appUtils;

import java.io.File;
import java.io.IOException;

import org.apache.commons.io.FileUtils;
import org.aplikator.client.shared.descriptor.ViewDTO;
import org.aplikator.client.shared.descriptor.WidgetDTO;

public class ViewJSON {
	
	public static void main(String[] args) throws IOException {
		File file = new File("/home/pavels/view.json");
		String str= FileUtils.readFileToString(file);
		
		/*
		ObjectMapper mapper = new ObjectMapper();
		ViewDTO vdto = mapper.readValue(str, ViewDTO.class);
		System.out.println(vdto.getFormDescriptor());
		WidgetDTO layout = vdto.getFormDescriptor().getLayout();
		*/
	}
}
